//
//  QuestionXMLParser.h
//  MathMasterMain
//
//  Created by Jimmy Hahm on 10-03-27.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Questions.h"

@interface QuestionXMLParser : NSObject {
	NSMutableArray* _Q;
	NSMutableArray* _elementStack;
}

- (void) parser: (NSXMLParser*) parser 
didStartElement: (NSString*) elementName 
   namespaceURI: (NSString*) namespaceURI 
  qualifiedName: (NSString*) qualifiedName 
	 attributes: (NSDictionary*) attributeDict;

- (void) parser: (NSXMLParser*) parser
foundCharacters: (NSString*) string;

- (void) parser: (NSXMLParser*) parser 
  didEndElement: (NSString*) elementName
   namespaceURI: (NSString*) namespaceURI 
  qualifiedName: (NSString*) qName;

- (NSMutableArray*) parseContentOfUrl: (NSURL*) url;
- (NSMutableArray*) parseContentOfLocal: (NSString*) filename;
@end


